<template>
  <div class="header">
    <router-link to="/"
                 class="header_link">
      <svg class="icon"
           aria-hidden='true'>
        <use xlink:href="#icon-fanhui"></use>
      </svg>
    </router-link>
    <div class="header_title g-ta--c">
      城市选择
    </div>
  </div>
</template>

<script>
export default {
  name: 'HomeHeader'
}
</script>

<style lang='scss' scoped>
@import '~@sass/varibles/_color';
.header {
  display: flex;
  line-height: $header-ht;
  background-color: $g-bg-c;
  color: #fff;
  font-size: 0.32rem;
}
.header_link {
  width: 0.64rem;
  padding: {
    left: 0.1rem;
    right: 0.1rem;
  }
  text-align: center;
  color: #fff;
}
.header_title {
  flex: 1;
  text-indent: -0.84rem;
}
</style>
